package me.xiaoyan.ehr.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("employee_info")
public class EmployeeInfo implements Serializable {
    @TableId
    private Integer id;
    private String email;
    private String nickname;
    private String address;
    private String phone;

    @Override
    public String toString() {
        return "EmployeeInfo{" +
                "id=" + id +
                ", email='" + email + '\'' +
                ", nickname='" + nickname + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}
